/*
 * @Descripttion:  注册所有微应用
 * @version:
 * @Author: zhaoxiaodong
 * @LastEditors  : 彭浩
 * @LastEditTime : 2020-11-30 10:39:08
 */

const subApps = [
    //工作台
    {
        module: "cloud-design-center-workbench",
        defaultRegister: true, //是否默认加载
        devEntry: "//localhost:7331",
        proEntry: process.env.VUE_APP_CDN_URL+"/workbench/index.html?t="+Math.random(),
        activeRule: "/#/workbench",
    },
     //应用上架
     {
        module: "cloud-design-center-application",
        defaultRegister: false, //是否默认加载
        devEntry: "//localhost:7532",
        proEntry: process.env.VUE_APP_CDN_URL+"/application/index.html?t="+Math.random(),
        activeRule: "/#/application",
    },
    //资源库
    {
        module: "cloud-design-center-library",
        defaultRegister: false, //是否默认加载
        devEntry: "//localhost:7721",
        proEntry: process.env.VUE_APP_CDN_URL+"/library/index.html?t="+Math.random(),
        activeRule: "/#/library",
    },
     //工具箱
     {
        module: "cloud-design-center-tool",
        defaultRegister: false, //是否默认加载
        devEntry: "//localhost:7931",
        proEntry: process.env.VUE_APP_CDN_URL+"/tool/index.html?t="+Math.random(),
        activeRule: "/#/tool",
    },
     //空间管理
     {
        module: "cloud-design-center-space",
        defaultRegister: false, //是否默认加载
        devEntry: "//localhost:8123",
        proEntry: process.env.VUE_APP_CDN_URL+"/space/index.html?t="+Math.random(),
        activeRule: "/#/space",
    },
];

export default subApps;
